package com.ydj.framework.interceptor;

import com.ydj.framework.annotation.LogPrinter;
import com.ydj.framework.redis.DistributedLock;
import com.ydj.framework.redis.RdsBaseLoginInfo;
import io.swagger.annotations.ApiOperation;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

@Getter
@Setter
@Accessors(chain = true)
public class InterceptorContext {
    private ApiOperation functionNameAnnotation;

	private LogPrinter logPrinterAnnotation;

	/**
	 * Redis 里的登录信息
	 */
    private RdsBaseLoginInfo rdsLoginInfo;

	/**
	 * 分布式锁对象
	 */
	private DistributedLock lock;

	private Boolean hasIdempotenceAnnotation=false;

	private Boolean isReturn=false;
}